from common.base import Base, By


class HomePage(Base):
    home_url = 'https://ecshop.test2.shopex123.com/'

    def font_text(self):
        return self.get_element_text((By.CLASS_NAME, 'f4_b'))

    def quit_login(self):
        self.click((By.LINK_TEXT, '退出'))

if __name__ == '__main__':
    pass

